package com.cssw.fyzb.wap.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author Feng Chen
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "user", description = "用户信息")
public class UserVo {

    @ApiModelProperty("用户编号")
    private String id;

    @ApiModelProperty("用户名称")
    private String name;

//    public static void main(String[] args) {
//
//        UserVo vo = new UserVo("1001", "xk");
//
//        JSONObject obj = (JSONObject) JSON.toJSON(vo);
//        System.out.println(obj);
//        UserVo v = JSON.toJavaObject(obj, UserVo.class);
//        System.out.println(v);
//
//
//    }

}
